package org.boot.ssm.wxshop.web.controller;

import org.boot.ssm.wxshop.service.GoodsService;
import org.boot.ssm.wxshop.service.NewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: wxshop
 * @description: 前台主页及其子页面跳转控制器
 * @author: Parasomnia
 * @create: 2018-03-12 12:14
 **/
@Controller
public class FrontstageIndexController {

    @Autowired
    private GoodsService goodsService;

    @Autowired
    private NewsService newsService;

    /**
     * 去前台首页
     * @param model request
     * @return
     */
    @RequestMapping("/index")
    public String index(Model model){
        return "frontstage/panel/index";
    }




}
